package com.net.xpay.common.manager.admin.rbac;

import com.net.xpay.common.domain.admin.rbac.Role;
import com.net.xpay.common.model.admin.rbac.search.RoleSearchModel;
import com.net.common.manager.DomainManager;

import java.util.List;


public interface RoleManager extends DomainManager<Long, Role> {
    List<Role> search(RoleSearchModel searchModel);

    long searchCount(RoleSearchModel searchModel);

    Role findByName(String name);

    List<Role> listAll();
}
